package rollercoaster.train.tests;

import rollercoaster.commons.Vertex3D;
import rollercoaster.train.utils.OBJControlPointsSingleSurfaceReader;

public class NurbsControlPointsReaderTest {
	
	public static void main(String[] args) {
		OBJControlPointsSingleSurfaceReader reader=new OBJControlPointsSingleSurfaceReader("trainModels/cubetto.obj");
		Vertex3D[][] controlPoints = reader.getControlPoints();
		
		for (int i = 0; i < controlPoints.length; i++) {
			for (int j = 0; j < controlPoints[0].length; j++) {
				Vertex3D vertex=controlPoints[i][j];
				System.out.print(vertex+" ");
			}
			System.out.println();
		}
	}

}
